Skip to content

Conversation

@NiccoloFei
Copy link
Contributor

@NiccoloFei NiccoloFei commented Nov 26, 2025

The main idea is that, when any of the files inside system-libs/ gets modified on main, that will trigger
a new build workflow which will rebuild the target extension.
This workflow will open a new PR for a target extension that requires an update of OS libs

Closes #10

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Comment on lines +15 to +17
DISTROS := $(shell sed -n '/variable "distributions"/,/}/ { s/^[[:space:]]*"\([^"]*\)".*/\1/p }' docker-bake.hcl)
# Default supported PostgreSQL majors
POSTGRES_MAJORS := $(shell sed -n '/variable "pgVersions"/,/]/ { s/^[[:space:]]*"\([^"]*\)".*/\1/p }' docker-bake.hcl)
Copy link

@GabriFedi97 GabriFedi97 Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The usage of sed here is compatible with GNU sed only and not with BSD sed, which is what gets used by default on OS X.
Should we mention this requirement somewhere or perhaps is it worth considering to run this operation through a reproducible environment, eg dagger?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate updates of OS libraries

3 participants